package com.test.aes.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.test.aes.config.TypeHandler;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

@NoArgsConstructor
@AllArgsConstructor
@Setter
@Getter
@TableName(value = "sys_user",autoResultMap = true)
public class SysUser extends Model<SysUser> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
  private Integer id;
    /**
     * 姓名
     */
    @TableField(typeHandler = TypeHandler.class)
    private String name;
    /**
     * 身份证
     */
    @TableField(typeHandler = TypeHandler.class)
    private String identity;
    /**
     * 银行卡号
     */
    @TableField(typeHandler = TypeHandler.class)
    private String bank;



}